define([
        'jquery',
        'model/SlideObj',
        'control/MenuController',
        'control/ThumbnailController',
        'control/SlideEditorController',
        'lib/snap.svg'
], function($, SlideObj, MenuController, ThumbnailController, SlideEditorController, Snap){

	function MainController() {
		
		this.slideList = [];
		this.menuController = null;
		this.thumbnailController = null;
		this.slideEditorController = null;
		this.currentSlideNum = null;
		
	};
	
	MainController.prototype = {
		
		initShow : function() {
			this.menuController = new MenuController(this.slideList);
			this.thumbnailController = new ThumbnailController(this.slideList);
			this.slideEditorController = new SlideEditorController(this.slideList);
						
			this.menuController.setMainController(this);
			this.thumbnailController.setMainController(this);
			this.slideEditorController.setMainController(this);
			
			this.menuController.callRender();
			this.thumbnailController.callRender();
			this.slideEditorController.callRender();
		},
			
		getMenuController : function() {
			return this.menuController;
		},
	
		getThumbnailController : function() {
			return this.thumbnailController;
		},
		
		getSlideEditorController : function() {
			return this.slideEditorController;
		},
		
		setFillBoxColor : function() {
			
		}
		
	/*	getCurrentSlideNum : function() {
			
		}*/
	};
	
	return MainController;

});